package com.pureut.system.domain;

import java.util.List;

/**
 * @Description 报警信息
 * @Param
 * @Date 22-11-24
 * @Author hl
 **/
public class SysTheAlarm {

    /** id */
    private long alarmId;

    /** 告警方式  1:消息提醒 2:弹窗提醒 3:邮件提醒*/
    private String alarmWay;

    /** 告警方式  字典值*/
    private String alarmWayDict;

    /** 告警频率 */
    private int alarmFrequency;

    /** 告警单位 */
    private String alarmUnit;

    /** 告警单位  字典值*/
    private String alarmUnitDict;

    /** 关结方式 */
    private String alarmNexus;

    /** 关结方式  字典值*/
    private String alarmNexusDict;

    /** 告警类型  1:最小安全库存告警 2:保质期告警 3:复检日期告警*/
    private int alarmType;

    /** 物料类型 */
    private int alarmOfMaterial;

    /** 关联id */
    private long alarmAssociatedId;

    /** 物料编码 */
    private String alarmMaterialCode;

    /** 角色数组 */
    private List<Long> roleIds;

    /** 角色id */
    private String alarmRoleId;

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }

    public String getAlarmRoleId() {
        return alarmRoleId;
    }

    public void setAlarmRoleId(String alarmRoleId) {
        this.alarmRoleId = alarmRoleId;
    }

    public String getAlarmMaterialCode() {
        return alarmMaterialCode;
    }

    public void setAlarmMaterialCode(String alarmMaterialCode) {
        this.alarmMaterialCode = alarmMaterialCode;
    }

    public String getAlarmWayDict() {
        return alarmWayDict;
    }

    public void setAlarmWayDict(String alarmWayDict) {
        this.alarmWayDict = alarmWayDict;
    }

    public String getAlarmUnitDict() {
        return alarmUnitDict;
    }

    public void setAlarmUnitDict(String alarmUnitDict) {
        this.alarmUnitDict = alarmUnitDict;
    }

    public String getAlarmNexusDict() {
        return alarmNexusDict;
    }

    public void setAlarmNexusDict(String alarmNexusDict) {
        this.alarmNexusDict = alarmNexusDict;
    }

    public long getAlarmId() {
        return alarmId;
    }

    public void setAlarmId(long alarmId) {
        this.alarmId = alarmId;
    }

    public String getAlarmWay() {
        return alarmWay;
    }

    public void setAlarmWay(String alarmWay) {
        this.alarmWay = alarmWay;
    }

    public int getAlarmFrequency() {
        return alarmFrequency;
    }

    public void setAlarmFrequency(int alarmFrequency) {
        this.alarmFrequency = alarmFrequency;
    }

    public String getAlarmUnit() {
        return alarmUnit;
    }

    public void setAlarmUnit(String alarmUnit) {
        this.alarmUnit = alarmUnit;
    }

    public String getAlarmNexus() {
        return alarmNexus;
    }

    public void setAlarmNexus(String alarmNexus) {
        this.alarmNexus = alarmNexus;
    }

    public int getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(int alarmType) {
        this.alarmType = alarmType;
    }

    public int getAlarmOfMaterial() {
        return alarmOfMaterial;
    }

    public void setAlarmOfMaterial(int alarmOfMaterial) {
        this.alarmOfMaterial = alarmOfMaterial;
    }

    public long getAlarmAssociatedId() {
        return alarmAssociatedId;
    }

    public void setAlarmAssociatedId(long alarmAssociatedId) {
        this.alarmAssociatedId = alarmAssociatedId;
    }

    @Override
    public String toString() {
        return "SysTheAlarm{" +
                "alarmId=" + alarmId +
                ", alarmWay=" + alarmWay +
                ", alarmFrequency=" + alarmFrequency +
                ", alarmUnit=" + alarmUnit +
                ", alarmNexus=" + alarmNexus +
                ", alarmType=" + alarmType +
                ", alarmOfMaterial=" + alarmOfMaterial +
                ", alarmAssociatedId=" + alarmAssociatedId +
                '}';
    }
}
